/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Controleur;

/**
 *
 * @author Valentin
 */
public class Participant {
    private int id;
    private String nom;
    private String prenom;
    private int age;
    private int departement;
    private boolean inscrit;
    private boolean location;

    public Participant(String nom, String prenom, int age, int departement) {
        this.nom = nom;
        this.prenom = prenom;
        this.age = age;
        this.departement = departement;
    }

    public Participant() {
    }
            
    // ###################  GETTERS ###################
    public String getNom() {
        return nom;
    }

    public String getPrenom() {
        return prenom;
    }

    public int getAge() {
        return age;
    }

    public int getDepartement() {
        return departement;
    }

    public int getId() {
        return id;
    }

    public boolean isInscrit() {
        return inscrit;
    }

    public boolean isLocation() {
        return location;
    }

    
    
     // ###################  SETTERS ###################
    public void setNom(String nom) {
        this.nom = nom;
    }

    public void setPrenom(String prenom) {
        this.prenom = prenom;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void setDepartement(int departement) {
        this.departement = departement;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return nom + " " + prenom;
    }  

    public void setInscrit(boolean inscription) {
        this.inscrit = inscription;
    }

    public void setLocation(boolean location) {
        this.location = location;
    }
    
    
    
}
